﻿namespace CardPlay.Model.GameModel.Actions
{
    public class FlipCardAction : CardAction
    {
        public FlipCardAction(CardGame cardGame, PartLocation cardLocation) : base(cardGame, cardLocation)
        {
        }

        protected override void OnExecute()
        {
            Card.Flip();
        }
        
        protected override void OnReverse()
        {
            Card.Flip();
        }
    }
}
